<?php
echo MainDesign::header("Prisijungimas");
echo '<div class="loginError">&nbsp;'.messages('error').messages('success').'</div>';
$link = $_SERVER["REQUEST_URI"];
if (substr($link, -strlen('?logout')) == '?logout') {
    $link = "?";
} else {
    $link = "#";
}
?>
<form class="loginForm" method="post" action="<?=$link;?>">
    <input type="hidden" name="real_action_script" value="Processing/Login/login_processing.php" />
    <div class="row">
        <label class="username" for="username">Naudotojo vardas:</label>
        <input type="text" name="username" id="username"/>
    </div>
    <div class="row">
        <label class="password" for="password">Slaptažodis:</label>
        <input type="password" name="password" id="password"/>
    </div>
    <div class="row">
        <input type="checkbox" name="rememberMe" id="rememberMe"/>
        <label for="rememberMe">
            Prisiminti mane
        </label>
        <input type="submit" value="Prisijungti" />
    </div>
</form>
</div>
</body>
</html>
